package com.cqhfan.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 眭传洪
 * @create 2025-08-20 0:33
 */
@Getter
public enum TogetherWatchMessageTypeEnum {
    INVITE_TOGETHER_WATCH(1, "邀请一起看"),
    ACCEPT_INVITE(2, "接受邀请"),
    SLIDE(3, "滑动屏幕"),
    CONTENT_FORWARD(4, "内容转发"),
    NOTICE_GET_WORKS(5, "通知获取新作品"),
    TOGETHER_WATCH_TEXT(6, "一起看时发送的消息（不入库）"),
    PAUSE(7, "暂停/播放"),
    EXIT(8, "退出")
    ;

    TogetherWatchMessageTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @JsonValue
    @EnumValue
    final Integer value;

    final String desc;
}
